FROM java:8
MAINTAINER 727617489@qq.com
RUN mkdir /app
RUN mkdir /file
WORKDIR /app
ADD target/modules-gen-1.1.0.jar /app
#RUN ln -sf official_website_admin-0.0.1-SNAPSHOT.jar official_website_admin-latest.jar

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

EXPOSE 9204

#CMD java -jar /app/official_website_admin-latest.jar
CMD java -jar /app/modules-gen-1.1.0.jar
